body {
  padding: 0;
  font-family: Arial, sans-serif;
  display: flex;
  height: 100vh;
  margin: 0;
  background-color: #f0f0f0;
  justify-content: center;
  align-items: center;
}

.container {
  width: 80%;
  max-width: 800px;
  background-color: #fff;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  text-align: center; /* 中心对齐文本 */
  border-radius: 8px;
  position: relative;
}

.avatar-section {
  text-align: center;
  margin: 40px 0;
}

.avatar-section img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.input-group {
  margin-bottom: 20px;
  display: flex;
  justify-content: center; /* 水平居中 */
  align-items: center;
}

.input-group span {
  min-width: 100px;
  text-align: right;
  padding-right: 10px;
}

.input-group input,
.input-group select,
.input-group textarea {
  flex: 1;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px; /* 增大字体以增强可读性 */
  margin-left: 10px;
  margin-right: 30px;
  max-width: 100%; /* 避免输入框溢出容器 */
}

.input-group textarea {
  height: 100px;
  resize: none; /* 禁止调整大小 */
}

.input-group button {
  padding: 10px 20px;
  background-color: #007bff; /* 设置为蓝色 */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin: 20px auto;
}

button:hover {
  background-color: #0056b3; /* 悬停时的深蓝色 */
}
/*更换头像按钮*/
#change-avatar-btn {
  padding: 10px 20px;
  background-color:#007bff ; /* 原始按钮样式 */
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#change-avatar-btn:hover {
  background-color: #0056b3; /* 悬停时的深绿色 */
}


.button {
      padding: 10px;
      background-color: #007bff;
      color: #fff;
      border: none;
      border-radius: 4px;
      text-align: center;
      cursor: pointer;
      /*margin-top: 20px;*/
      text-decoration: none;
      display: block;
}

.button:hover {
      background-color: #0056b3;
    }

/*返回按钮*/
.bx{
  background-color: hsl(0, 0%, 100%);
  font-size: large;
  color: #0b0b0b;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 10px 20px;
  margin-left: 10px;
  top: 50px;
  left: 20px;
  position: absolute;
}

.bx:hover {
  background-color: grey;
}

/*.flashed-messages li {*/
/*  padding: 10px;*/
/*  margin-bottom: 5px;*/
/*  border-radius: 5px;*/
/*  color: white;*/
/*  opacity: 1;*/
/*  transition: opacity 0.5s ease;*/
/*  text-align: center;*/
/*}*/

/*.success {*/
/*  background-color: green;*/
/*}*/

/*.error {*/
/*  background-color: red;*/
/*}*/
